/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package loganalysis;
import java.io.*;
//import java.text.DateFormat;
import java.util.*;
import java.util.Date.*;
import java.text.SimpleDateFormat;
/**
 *
 * @author prateekpatil
 */
public class CurateData {
    
    
    public static void main(String []args)
    
    {
        try{
            //Reading the file object
             BufferedReader inputFile = new BufferedReader (new FileReader("summarygraph.txt"));
             String line="";
             String out="";
             //Writing File object
             BufferedWriter curatedFile = new BufferedWriter(new FileWriter("CuratedData.txt",false));
             while ((line = inputFile.readLine())!= null)
             {
                 if(line.length()>0){
                 curatedFile.write(line);
                 curatedFile.newLine();
                 out+=line+"\n";
                 }
                 
             }
             curatedFile.close();
        }catch(IOException io){ System.err.println("Error in IO "+io); }
    }
}
